﻿using CodeFinder.Common.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CodeFinder.Common.Interfaces {
    public interface IUserService : IDisposable{
        User FindUserById(long id);
        bool Login(string username, string password);
        bool Save(User user);
        bool Update(User user);
        int Delete(long userId);
    }
}
